package com.ztgf.sys.models.vo;

import com.ztgf.sys.models.dto.SysMenuDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 角色表VO
 *
 * @author YUE
 * @Date 2020-05-27 17:48:23
 */
@Data
public class SysRoleVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "父级ID")
    private Long parentId;
    @ApiModelProperty(value = "排序 默认倒序")
    private Integer sort;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "子角色信息")
    private List<SysRoleVO> childRoleList;
    @ApiModelProperty(value = "角色所拥有的菜单集合")
    private List<SysMenuVO> sysMenuVOList;
}
